<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2017 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: pl125 <xskjs888@163.com>
// +----------------------------------------------------------------------

namespace api\wxapp\controller;

use api\wxapp\controller\ApiBaseController;
use think\Db;
use api\wxapp\model\Shop;
class ShopController extends ApiBaseController
{
    //店铺首页  店铺信息
    public function index(Shop $shop)
    {
        $where = array();
        $params = $this->getParam();
        $this->checkshopid($params);
        $info = $shop->info($params['shop_id']);
        $this->success('请求成功!',$info);
    }
}
